﻿using AutoMapper;
using B.S.Unit.Domain;
using B.S.Unit.Write.API.Applications.Command;



namespace B.S.Unit.Write.API
{
    public class MapperProfile : Profile
    {
        public MapperProfile()
        {
            CreateMap<UnitAddCommand, UnitApp>().ReverseMap();

            CreateMap<UnitUpdCommand, UnitApp>().ReverseMap();
        }
    }
}
